/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2018
 */

package com.bm.console.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import com.sys.object.common.page.Page;

import java.util.Date;

@Data
public class WebAdPhoto extends Page implements java.io.Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 图片ID       db_column: id
     */
    private Long id;
    /**
     * 广告ID       db_column: ad_id
     */
    private Long adId;
    /**
     * 图片       db_column: photo
     */
    private String photo;
    /**
     * 跳转地址       db_column: url
     */
    private String url;
    /**
     * 描述       db_column: description
     */
    private String description;
    /**
     * 备注       db_column: remark
     */
    private String remark;
    /**
     * 是否开启       db_column: status
     */
    private Boolean status;
    /**
     * 创建时间       db_column: create_time
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 修改时间       db_column: update_time
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String filedata;

    private String fileext;

    private Integer sort;

}

